package com.itsc.entities;

import java.util.Set;

public class Role {

	private Integer role_id;	//编号id
	private String role_name;	//角色名称
	private String role_des;	//角色描述
	
	private Set<User> userSet;	//一个角色对应多个用户
	private Set<Permission> permissionSet;//一个角色对应多个权限
	public Integer getRole_id() {
		return role_id;
	}

	public void setRole_id(Integer role_id) {
		this.role_id = role_id;
	}

	public String getRole_name() {
		return role_name;
	}

	public void setRole_name(String role_name) {
		this.role_name = role_name;
	}

	public String getRole_des() {
		return role_des;
	}

	public void setRole_des(String role_des) {
		this.role_des = role_des;
	}

	public Set<User> getUserSet() {
		return userSet;
	}

	public void setUserSet(Set<User> userSet) {
		this.userSet = userSet;
	}

	public Set<Permission> getPermissionSet() {
		return permissionSet;
	}

	public void setPermissionSet(Set<Permission> permissionSet) {
		this.permissionSet = permissionSet;
	}

	
}
